import React from "react";
import { useRouteMatch } from "react-router-dom";
import type { HelloProps } from "./dto";
import styles from "./index.module.less";
import { Button, DatePicker } from "antd";

/**
 *
 */
const Hello = (props: HelloProps) => {
  console.log("hello world", props);

  const match = useRouteMatch();

  console.log(match);

  return (
    <div className={styles.container}>
      <Button type="primary">hello</Button>
      <DatePicker />
    </div>
  );
};

export default Hello;
